Skip to content

Cover full installer path behavior#315

Merged
codeforester merged 1 commit into
masterfrom
enhancement/299-20260530-install-full-path-tests
May 30, 2026
Merged

Cover full installer path behavior#315
codeforester merged 1 commit into
masterfrom
enhancement/299-20260530-install-full-path-tests

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • Add non-dry-run installer coverage for fresh clone/setup, idempotent reruns, BASE_HOME default install directory, unwritable target failure, and installed runtime files.
  • Use a fake supported Bash in tests so setup/update-profile calls are hermetic while the git clone path remains real.
  • Honor BASE_HOME as an installer directory fallback when BASE_INSTALL_DIR is not set.

Validation

  • bats tests/install.bats
  • env HOME=/private/tmp/base-review-home BASE_TEST_PYTHON=/Users/rameshhp/.base.d/base/.venv/bin/python bin/base-test
  • git diff --check

Closes #299

@codeforester codeforester force-pushed the enhancement/299-20260530-install-full-path-tests branch from e411b1e to e790854 Compare May 30, 2026 22:19
@codeforester codeforester merged commit dc11c01 into master May 30, 2026
16 checks passed
@codeforester codeforester deleted the enhancement/299-20260530-install-full-path-tests branch May 30, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add full-path installation tests to install.bats

1 participant